package com.ganbo.apollotest.controller;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ApolloTestController {

    @Value("${timeout:100}")
    private String timeout;
    @Value("${batch:200}")
    private String batch;

    @GetMapping("/hello")
    public String hello() {
        return batch + "-" + timeout;
    }

}
